libxl: fix passing the type argument to xc_psr_*
authorRoger Pau Monne <roger.pau@citrix.com>
Tue, 26 Apr 2016 10:07:51 +0000 (12:07 +0200)
committerWei Liu <wei.liu2@citrix.com>
Wed, 27 Apr 2016 13:14:14 +0000 (14:14 +0100)
commit31268fea286fc129cd3015cf9de39eaf816173e7
tree0cc7c9dcd3c44aca0e2152434d31186ddf005689
parent50f85376315df108bef0fe501dd0b35c4e6d2063
libxl: fix passing the type argument to xc_psr_*

The xc_psr_* functions expect the type to be xc_psr_cat_type instead of
libxl_psr_cbm_type, so do the conversion.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_psr.c